package com.jinkaimen.goodcash.ui.adapter;

import android.content.Context;

import com.ht.baselibs.ui.adapter.DefaultAdapter;
import com.ht.baselibs.ui.base.BaseViewHolder;
import com.jinkaimen.goodcash.bean.ReportShoperManagerItemBean;
import com.jinkaimen.goodcash.ui.holder.WaitPassViewHolder;

import java.util.List;

public class WaitPassShoperAdapter extends DefaultAdapter<ReportShoperManagerItemBean> {
    private int mType;

    public WaitPassShoperAdapter(Context context, List<ReportShoperManagerItemBean> data, int type) {
        super(context, data);
        this.mType = type;
    }

    @Override
    protected BaseViewHolder<ReportShoperManagerItemBean> getViewHolder(int position, List<ReportShoperManagerItemBean> mData) {
        return new WaitPassViewHolder(mType);
    }
}
